[Infra] Support .NET 11#6899
Draft
martincostello wants to merge 87 commits into
Draft
Conversation
martincostello
commented
Feb 15, 2026
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6899 +/- ##
==========================================
- Coverage 90.21% 90.20% -0.02%
==========================================
Files 290 290
Lines 15967 15982 +15
==========================================
+ Hits 14405 14416 +11
- Misses 1562 1566 +4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
martincostello
added a commit
to martincostello/opentelemetry-dotnet
that referenced
this pull request
Feb 15, 2026
Update some references to .NET 8 to .NET 10 that were flushed out while working on open-telemetry#6899.
4 tasks
- Add support for building and testing with .NET 11, initially using .NET 11 preview 1. - Add `net11.0` TFMs. - Drop `net8.0` and `net9.0` TFMs. - Add workarounds for some issues pending their fixes.
Update System.Diagnostics.DiagnosticSource to 11.0.* that was missed in the previous commit and fix some missed analyzer warnings.
Copy-paste mistake.
Fix `NU1510` warning caused by workaround for aspnetcore issue.
Update CompatibilitySuppressions for .NET 11.
martincostello
force-pushed
the
dotnet-vnext
branch
from
February 17, 2026 09:55
71abd0d to
f361c14
Compare
Update to preview 2 of .NET 11.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Member
Author
|
Commit that should fix all the warnings just pushed. Will make a version targeting |
Populate switch statement to fix new analyser warning.
Suppress IDE0066 as otherwise it makes the code hard to read.
Use pattern matching.
martincostello
commented
Jun 24, 2026
Add missing override for newly added package.
Restore removed blank line.
Fix new IDE0061 warnings.
Fix new code analysis warnings from merge with main.
Fix new code analysis warnings after merge with main.
Use compound assignment.
martincostello
added a commit
to martincostello/opentelemetry-dotnet
that referenced
this pull request
Jul 10, 2026
Cherry-pick change from open-telemetry#6899 to fix new code analysis warning in .NET 11.
Pull request dashboard status
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The intention is to keep this PR updated over the course of .NET 11's development as new previews are released.
Changes
Add support for building and testing with .NET 11.
net11.0targetnet8.0andnet9.0targetsTODO
11.0-preview)Merge requirement checklist
CHANGELOG.mdfiles updated for non-trivial changes